do these 3 things before die